home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetpagenumberbyid.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  725b  |  25 lines

  1. /*
  2.  *--- PGetPageNumberByID.cpp ----------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPageNumberByID.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPageNumberByID.h"
  12. #include "PRequestBuf.h"
  13.  
  14. PGetPageNumberByID::PGetPageNumberByID(unsigned long nPageID)
  15. : PShortQuery()
  16. {
  17.     char temp[4];
  18.     PRequestBuf request(temp);
  19.     request << nPageID;
  20.  
  21.     PQuery query(pm_getpagenumberbyid, request, itsShort);
  22. }
  23.  
  24. // end of PGetPageNumberByID.cpp
  25.